package com.zmn.oms.dubbo.interfaces.zmn.normal.warranty;

import com.zmn.common.dto.ResponseDTO;
import com.zmn.oms.dubbo.dto.zmn.warranty.AddWarrantyProductDIO;
import com.zmn.oms.dubbo.dto.zmn.warranty.WarrantyUserDRO;
import com.zmn.oms.dubbo.dto.zmn.warranty.WarrantyListUserDRO;

import java.util.List;

/**
 * 类描述：保修卡
 * @author heciqi
 * @date 2018/12/3 17:41
 */
@Deprecated
public interface ZsNormalWarrantyRemoteService {

    /**
     * 获取保修卡
     * @param orderId
     * @return
     * @see ZsNormalOrderWarrantyRemoteService#findWarrantyByOrderId(java.lang.Long)
     */
    @Deprecated
    ResponseDTO<WarrantyUserDRO> findWarrantyByOrderId(Long orderId);

    /**
     * 保修卡
     * @param userId
     * @return
     * @see ZsNormalOrderWarrantyRemoteService#listWarrantyByUserId(java.lang.Long)
     */
    @Deprecated
    ResponseDTO<WarrantyListUserDRO> listWarrantyByUserId(Long userId);

    /**
     * 激活保单
     * @param orderId 用户id
     * @return 激活结果
     * @see ZsNormalOrderWarrantyRemoteService#activeWarranty(java.lang.Long)
     */
    @Deprecated
    ResponseDTO activeWarranty(Long orderId);

    /**
     * 领取保修卡
     * @param orderId
     * @param userId
     * @return
     * @see ZsNormalOrderWarrantyRemoteService#takeWarranty(java.lang.Long, java.lang.Long)
     */
    @Deprecated
    ResponseDTO takeWarranty(Long orderId, Long userId);
}